HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/dashboard.orbiwheels.com/vendor/livewire/livewire/src/Transparency.php
<?php

namespace Livewire;

use Traversable;

trait Transparency
{
    public $target;

    function __toString()
    {
        return (string) $this->target;
    }

    function offsetExists(mixed $offset): bool
    {
        return isset($this->target[$offset]);
    }

    function offsetGet(mixed $offset): mixed
    {
        return $this->target[$offset];
    }

    function offsetSet(mixed $offset, mixed $value): void
    {
        $this->target[$offset] = $value;
    }

    function offsetUnset(mixed $offset): void
    {
        unset($this->target[$offset]);
    }

    function getIterator(): Traversable
    {
        return (function () {
            foreach ($this->target as $key => $value) {
                yield $key => $value;
            }
        })();
    }
}